Frequently Asked Questions

Site Map
 
Home
  About Whitebeam
  Architecture
  XML
  XPath
  JavaScript
  Application Servers
  Postgres
  Security
  Scaleability
  Documentation
  FAQ
 
Application Guide
Reference
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Frequently Asked Questions

The top questions asked by Whitebeam users:


Background

Communication

Support

Site Development
When I open my pages in an editor such as Dreamweaver, the Whitebeam JavaScript code is visible and my pages don't display properly.

Is there any way we can view the values stored in the variables when we test our pages?

When we test our pages, if there is an error, the system shows a debug message. Will these messages be visible when the site goes live?
  

When I open my pages in an editor such as Dreamweaver, the Whitebeam JavaScript code is visible and my pages don't display properly.
By default, web editors will not recognise pages that include Whitebeam server-side code and so they will display in on screen upsetting the WYSIWYG display of the page you are designing. Some editors can be "taught" to understand the Whtiebeam Tags and JavaScript so that the pages display properly. Macromedia's Dreamweaver is one such editor, configuration files can be found in the tools section of the reference documentation.

Is there any way we can view the values stored in the variables when we test our pages?
The easiest way is to use rb.debug.write() method calls in your code to print out the variable values to the "debug stream". This output is then visible by default when a site is in test mode and disabled by default when a site is in live mode. The widgets collection in the sample code section also contains some useful include files.

When we test our pages, if there is an error, the system shows a debug message. Will these messages be visible when the site goes live?
By default the output from all rb.debug.write() messages are disabled when a site is operated in live mode. This default behaviour can however be overridden if required by use of the rb.debug.mode() method.

 

Whitebeam release 1.3.36
(loadtime : 8ms)